#include <stdio.h>

int main()

{
	int na,nb;
	
	puts("请输入两个整数:");
	printf("整数A:"); scanf("%d",&na);
	printf("整数B:"); scanf("%d",&nb);

	printf("它们的平均值是%f。\n",(double)(na+nb)/2);

	return (0);
}
